Skip to content

Conversation

@youbek
Copy link
Collaborator

@youbek youbek commented Dec 10, 2025

This is follow up to the push notification refactoring PR. Turns out I had missed couple of important documentation mistakes that I've found once i started the implementation.

Specifically ads clarification:

  • Clarify that completed/failed statuses use Task object with data in .artifacts
  • Clarify that interim statuses (working, input-required) use TaskStatusUpdateEvent with data in status.message.parts
  • Add best practice guidance for URL-based routing (task_type and operation_id in URL)
  • Deprecate task_type and operation_id fields in webhook payload (backward compatible)
  • Update webhook handler examples to use URL parameters - Consistent guidance across both MCP and A2A protocols

@youbek youbek marked this pull request as ready for review December 10, 2025 19:09
@youbek youbek self-assigned this Dec 11, 2025
…eration id to the url routing

- Clarify that completed/failed statuses use Task object with data in .artifacts
- Clarify that interim statuses (working, input-required) use TaskStatusUpdateEvent with data in status.message.parts
- Add best practice guidance for URL-based routing (task_type and operation_id in URL)
- Deprecate task_type and operation_id fields in webhook payload (backward compatible)
- Update webhook handler examples to use URL parameters
- Consistent guidance across both MCP and A2A protocols
@youbek youbek force-pushed the fix/a2a-webhook-payload-structure branch from 2f28d80 to a4c4e2e Compare December 11, 2025 16:02
@youbek youbek changed the title fix: docs regarding a2a webhook payload structure and url routing best practices docs: a2a webhook payload structure and url routing best practices Dec 11, 2025
@youbek youbek merged commit 142cf7c into main Dec 11, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants